import { subscribeTypeBase } from '@/config';

export const entries = () => {
  const service = subscribeTypeBase.map((item) => {
    return {
      ...item,
      to: {
        name: 'add-edit-user',
        query: {
          operateType: 'chose',
          code: item.code,
        },
      },
    };
  });
  const others = [
    {
      imageCode: 'application',
      label: '申请记录',
      to: { name: 'application' },
    },
    {
      imageCode: 'introduction',
      label: '预约流程介绍',
      to: { name: 'popup-image' },
    },
  ];
  return [...service, ...others];
};
